﻿@using Domain.Dto.SiteMap
@model SiteMapDto

<form asp-action="Edit">
  <div class="form-group row">
    <label asp-for="Name" class="col-sm-2 col-form-label col-form-label-sm">Email</label>
    <div class="col-sm-10">
      <input type="text" class="form-control form-control-sm" asp-for="Name" placeholder="ID">
    </div>
  </div>
  <div class="form-group row">
    <label asp-for="Url" class="col-sm-2 col-form-label">Url</label>
    <div class="col-sm-10">
      <input type="url" class="form-control" asp-for="Url" placeholder="col-form-label">
    </div>
  </div>
  <div class="form-group row">
      <input type="hidden" name="Id" value=@Model.Id />
  </div>
  <button type="submit" class="btn btn-primary">Submit</button>
</form>
@section Scripts {
    @{await Html.RenderPartialAsync("_ValidationScriptsPartial");}
}